<?php
/* @var $this VolunteerController */
/* @var $data Volunteer */
?>

<div class="view">
<?php echo'<img src="data:image/jpeg;base64,<?= base64_encode($model->volunteer_picture) ?>" height="10%" width="10%" />'; ?><br>
	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_fname')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_fname); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_lname')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_lname); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_age')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_age); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_gender')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_gender); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_address')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_address); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_birthdate')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_birthdate); ?>
	<br />

	
	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_picture')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_picture); ?>
	<? echo CHtml::link(Yii::app()->request->url,array('volunteer_picture','id'=>'1')); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_status')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_status); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_ContactNumber')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_ContactNumber); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('volunteer_email')); ?>:</b>
	<?php echo CHtml::encode($data->volunteer_email); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('mission_area_id')); ?>:</b>
	<?php echo CHtml::encode($data->missionArea->mission_name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('donation_id')); ?>:</b>
	<?php echo CHtml::encode($data->donation->donation_number); ?>
	<br />
	


	

</div>